package net.akkz.dao;

import java.util.ArrayList;

import net.akkz.dbFactory.Session;
import net.akkz.exception.BuildClassError;
import net.akkz.exception.SQLExcuteException;
import net.akkz.model.Answer;

public interface AnswerDao
{
	public void addAnswer(Session session, Answer answer) throws SQLExcuteException;
	
	public ArrayList<Answer> findAnswerByQuestionId(Session session, int questionId) throws SQLExcuteException, BuildClassError;
	
	public void deleteAnswer(Session session, int id) throws SQLExcuteException;
}
